package com.menusifu.onlineorder.mongo.domain;

import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

@Document(collection = "menuitem")
public class MenuItem
{
    private static final long serialVersionUID = 1L;

    private Long id;


    private String name;


    private String posName;


    private String description;


    private Long price;


    private Long categoryId;


    private String thumbPath;


    private Date createdOn;


    private Date lastUpdated;


    private Long createdBy;


    private Long lastUpdatedBy;


    private Long version;


    private Long displayPriority;


    private String discriminator;


    private Integer deleted;


    private Integer sendToKitchenRequired;


    private Integer hiddenItem;


    private Integer marketPriceItem;


    private String color;


    private Long kitchenTicketPrintingPriority;


    private String shortName;


    private Long reportGroupId;


    private Long baseWeight;


    private String itemNumber;


    private Long defaultItemSizeId;


    private Integer ktvItem;


    private Integer outOfStock;


    private Long cost;


    private String uniqueId;


    private String cloudThumbPath;


    private Long reportItemId;


    private Long saleItemId;


    private String optionCode;


    private Integer numOfItemOptionAllowed;


    private String comboType;


    private String comboPriceRule;


    private String comboDisplayMode;


    private Long itemOptionId;


    private Integer optionFullScreen;


    private Integer adminReadable;


    private String copyVersion;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPosName(String posName) 
    {
        this.posName = posName;
    }

    public String getPosName() 
    {
        return posName;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setPrice(Long price) 
    {
        this.price = price;
    }

    public Long getPrice() 
    {
        return price;
    }
    public void setCategoryId(Long categoryId) 
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId() 
    {
        return categoryId;
    }
    public void setThumbPath(String thumbPath) 
    {
        this.thumbPath = thumbPath;
    }

    public String getThumbPath() 
    {
        return thumbPath;
    }
    public void setCreatedOn(Date createdOn) 
    {
        this.createdOn = createdOn;
    }

    public Date getCreatedOn() 
    {
        return createdOn;
    }
    public void setLastUpdated(Date lastUpdated) 
    {
        this.lastUpdated = lastUpdated;
    }

    public Date getLastUpdated() 
    {
        return lastUpdated;
    }
    public void setCreatedBy(Long createdBy) 
    {
        this.createdBy = createdBy;
    }

    public Long getCreatedBy() 
    {
        return createdBy;
    }
    public void setLastUpdatedBy(Long lastUpdatedBy) 
    {
        this.lastUpdatedBy = lastUpdatedBy;
    }

    public Long getLastUpdatedBy() 
    {
        return lastUpdatedBy;
    }
    public void setVersion(Long version) 
    {
        this.version = version;
    }

    public Long getVersion() 
    {
        return version;
    }
    public void setDisplayPriority(Long displayPriority) 
    {
        this.displayPriority = displayPriority;
    }

    public Long getDisplayPriority() 
    {
        return displayPriority;
    }
    public void setDiscriminator(String discriminator) 
    {
        this.discriminator = discriminator;
    }

    public String getDiscriminator() 
    {
        return discriminator;
    }
    public void setDeleted(Integer deleted) 
    {
        this.deleted = deleted;
    }

    public Integer getDeleted() 
    {
        return deleted;
    }
    public void setSendToKitchenRequired(Integer sendToKitchenRequired) 
    {
        this.sendToKitchenRequired = sendToKitchenRequired;
    }

    public Integer getSendToKitchenRequired() 
    {
        return sendToKitchenRequired;
    }
    public void setHiddenItem(Integer hiddenItem) 
    {
        this.hiddenItem = hiddenItem;
    }

    public Integer getHiddenItem() 
    {
        return hiddenItem;
    }
    public void setMarketPriceItem(Integer marketPriceItem) 
    {
        this.marketPriceItem = marketPriceItem;
    }

    public Integer getMarketPriceItem() 
    {
        return marketPriceItem;
    }
    public void setColor(String color) 
    {
        this.color = color;
    }

    public String getColor() 
    {
        return color;
    }
    public void setKitchenTicketPrintingPriority(Long kitchenTicketPrintingPriority) 
    {
        this.kitchenTicketPrintingPriority = kitchenTicketPrintingPriority;
    }

    public Long getKitchenTicketPrintingPriority() 
    {
        return kitchenTicketPrintingPriority;
    }
    public void setShortName(String shortName) 
    {
        this.shortName = shortName;
    }

    public String getShortName() 
    {
        return shortName;
    }
    public void setReportGroupId(Long reportGroupId) 
    {
        this.reportGroupId = reportGroupId;
    }

    public Long getReportGroupId() 
    {
        return reportGroupId;
    }
    public void setBaseWeight(Long baseWeight) 
    {
        this.baseWeight = baseWeight;
    }

    public Long getBaseWeight() 
    {
        return baseWeight;
    }
    public void setItemNumber(String itemNumber) 
    {
        this.itemNumber = itemNumber;
    }

    public String getItemNumber() 
    {
        return itemNumber;
    }
    public void setDefaultItemSizeId(Long defaultItemSizeId) 
    {
        this.defaultItemSizeId = defaultItemSizeId;
    }

    public Long getDefaultItemSizeId() 
    {
        return defaultItemSizeId;
    }
    public void setKtvItem(Integer ktvItem) 
    {
        this.ktvItem = ktvItem;
    }

    public Integer getKtvItem() 
    {
        return ktvItem;
    }
    public void setOutOfStock(Integer outOfStock) 
    {
        this.outOfStock = outOfStock;
    }

    public Integer getOutOfStock() 
    {
        return outOfStock;
    }
    public void setCost(Long cost) 
    {
        this.cost = cost;
    }

    public Long getCost() 
    {
        return cost;
    }
    public void setUniqueId(String uniqueId) 
    {
        this.uniqueId = uniqueId;
    }

    public String getUniqueId() 
    {
        return uniqueId;
    }
    public void setCloudThumbPath(String cloudThumbPath) 
    {
        this.cloudThumbPath = cloudThumbPath;
    }

    public String getCloudThumbPath() 
    {
        return cloudThumbPath;
    }
    public void setReportItemId(Long reportItemId) 
    {
        this.reportItemId = reportItemId;
    }

    public Long getReportItemId() 
    {
        return reportItemId;
    }
    public void setSaleItemId(Long saleItemId) 
    {
        this.saleItemId = saleItemId;
    }

    public Long getSaleItemId() 
    {
        return saleItemId;
    }
    public void setOptionCode(String optionCode) 
    {
        this.optionCode = optionCode;
    }

    public String getOptionCode() 
    {
        return optionCode;
    }
    public void setNumOfItemOptionAllowed(Integer numOfItemOptionAllowed) 
    {
        this.numOfItemOptionAllowed = numOfItemOptionAllowed;
    }

    public Integer getNumOfItemOptionAllowed() 
    {
        return numOfItemOptionAllowed;
    }
    public void setComboType(String comboType) 
    {
        this.comboType = comboType;
    }

    public String getComboType() 
    {
        return comboType;
    }
    public void setComboPriceRule(String comboPriceRule) 
    {
        this.comboPriceRule = comboPriceRule;
    }

    public String getComboPriceRule() 
    {
        return comboPriceRule;
    }
    public void setComboDisplayMode(String comboDisplayMode) 
    {
        this.comboDisplayMode = comboDisplayMode;
    }

    public String getComboDisplayMode() 
    {
        return comboDisplayMode;
    }
    public void setItemOptionId(Long itemOptionId) 
    {
        this.itemOptionId = itemOptionId;
    }

    public Long getItemOptionId() 
    {
        return itemOptionId;
    }
    public void setOptionFullScreen(Integer optionFullScreen) 
    {
        this.optionFullScreen = optionFullScreen;
    }

    public Integer getOptionFullScreen() 
    {
        return optionFullScreen;
    }
    public void setAdminReadable(Integer adminReadable) 
    {
        this.adminReadable = adminReadable;
    }

    public Integer getAdminReadable() 
    {
        return adminReadable;
    }
    public void setCopyVersion(String copyVersion) 
    {
        this.copyVersion = copyVersion;
    }

    public String getCopyVersion() 
    {
        return copyVersion;
    }

    @Override
    public String toString() {
        return "MenuItem{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", posName='" + posName + '\'' +
                ", description='" + description + '\'' +
                ", price=" + price +
                ", categoryId=" + categoryId +
                ", thumbPath='" + thumbPath + '\'' +
                ", createdOn=" + createdOn +
                ", lastUpdated=" + lastUpdated +
                ", createdBy=" + createdBy +
                ", lastUpdatedBy=" + lastUpdatedBy +
                ", version=" + version +
                ", displayPriority=" + displayPriority +
                ", discriminator='" + discriminator + '\'' +
                ", deleted=" + deleted +
                ", sendToKitchenRequired=" + sendToKitchenRequired +
                ", hiddenItem=" + hiddenItem +
                ", marketPriceItem=" + marketPriceItem +
                ", color='" + color + '\'' +
                ", kitchenTicketPrintingPriority=" + kitchenTicketPrintingPriority +
                ", shortName='" + shortName + '\'' +
                ", reportGroupId=" + reportGroupId +
                ", baseWeight=" + baseWeight +
                ", itemNumber='" + itemNumber + '\'' +
                ", defaultItemSizeId=" + defaultItemSizeId +
                ", ktvItem=" + ktvItem +
                ", outOfStock=" + outOfStock +
                ", cost=" + cost +
                ", uniqueId='" + uniqueId + '\'' +
                ", cloudThumbPath='" + cloudThumbPath + '\'' +
                ", reportItemId=" + reportItemId +
                ", saleItemId=" + saleItemId +
                ", optionCode='" + optionCode + '\'' +
                ", numOfItemOptionAllowed=" + numOfItemOptionAllowed +
                ", comboType='" + comboType + '\'' +
                ", comboPriceRule='" + comboPriceRule + '\'' +
                ", comboDisplayMode='" + comboDisplayMode + '\'' +
                ", itemOptionId=" + itemOptionId +
                ", optionFullScreen=" + optionFullScreen +
                ", adminReadable=" + adminReadable +
                ", copyVersion='" + copyVersion + '\'' +
                '}';
    }
}
